#include<bits/stdc++.h>
using namespace std;
class Point
{
    private:
        int x,y,z;
    public:
        Point(int _x=0,int _y=0,int _z=0)
        {
            x=_x;
            y=_y;
            z=_z;
        }
        friend Point operator++(Point& a)
        {
            a.x++;
            a.y++;
            a.z++;
            return a;
        }
        friend Point operator++(Point& a,int)
        {
            Point tmp(a);
            a.x++;
            a.y++;
            a.z++;
            return tmp;
        }
        friend Point operator--(Point& a)
        {
            a.x--;
            a.y--;
            a.z--;
            return a;
        }
        friend Point operator--(Point& a,int)
        {
            Point tmp(a);
            a.x--;
            a.y--;
            a.z--;
            return tmp;
        }
        void show()
        {
            cout<<"x="<<x<<" "<<"y="<<y<<" "<<"z="<<z<<endl;
        }
};
int main()
{
    int a,b,c;
    cin>>a>>b>>c;
    Point Firs(a,b,c);
    Point ans(Firs);
    Point ans2=ans++;
    ans.show();
    ans2.show();

    ans=Firs;
    Point ans3=++ans;
    ans.show();
    ans3.show();

    ans=Firs;
    Point ans4=ans--;
    ans.show();
    ans4.show();

    ans=Firs;
    Point ans5=--ans;
    ans.show();
    ans5.show();
}